package com.ls.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ls.domain.Score;
import com.ls.domain.vo.ReportScore;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface ScoreService extends IService<Score> {
    List<ReportScore> selectScoreTch(String teacherClass, int startIndex, int pageSize);
    int selectScoreTchCount(String teacherClass);
    List<ReportScore> searchScoreTch(String teacherClass, String reportName, String sno, String studentName, int startIndex, int pageSize);
    int searchScoreTchCount(String teacherClass, String reportName, String sno, String studentName);
    List<ReportScore> selectScoreAdm(int startIndex, int pageSize);
    int selectScoreAdmCount();
    List<ReportScore> searchScoreAdm(String studentClass, String reportName, String sno, String studentName, int startIndex, int pageSize);
    int searchScoreAdmCount(String studentClass, String reportName, String sno, String studentName);
    List<ReportScore> selectScoreStu(Integer sid,int startIndex, int pageSize);
    int selectScoreStuCount(Integer sid);
    List<ReportScore> searchScoreStu(Integer sid,String reportName,int startIndex, int pageSize);
    int searchScoreStuCount(Integer sid,String reportName);
    List<String> analyseScoreTch(String teacherClass);
    List<ReportScore> inputScoreTch(String teacherClass);
    List<ReportScore> inputScoreAdm();
    ReportScore reportInput(Integer sid, Integer rid);
}
